package dk.hewison.client;

/**
 * @author John Hewison
 * @author $LastChangedBy: john.hewison $:  $ $LastChangedDate: 2009-02-15 12:47:07 +0000 (Sun, 15 Feb 2009) $:
 * @version $Revision: 364 $:
 */
public class AppEvent<T> {
    public static enum Event {
        ALBUM_SELECTED, START_SLIDESHOW, PAGE_SELECTED
    }

    private Event event;
    private T object;


    public AppEvent(Event event, T object) {
        this.event = event;
        this.object = object;
    }

    public Event getEvent() {
        return event;
    }

    public T getObject() {
        return object;
    }
}
